Modifying the web.config file with the credit card gateway

In order to accept credit card payments in the Public view or any iParts website, you must add the Gateway Account Code to your iMIS_Public web.config file. This must be updated in the iMIS_Public folder if you are using the iMIS Public Views or the NET folder if you are using a website containing iParts. If you do not make this change, you will receive the error message, “An error occurred while processing a payment. Payment gateway was not found to match the associated authorized account” Here are the steps you need to follow:

1.  Select AR/Cash > Set up module > Credit Card Auth.

2.  Take note of your Account Code for the gateway you are using.

3.  On your application server, open the web.config file located in your iMIS_Public folder if you are using the iMIS Public Views or the NET folder if you are using a website containing iParts.

4.  Search for AuthorizationAccounts. The code should look similar to the following:

<add name="PayFlowProPaymentGatewayProvider" type="Asi.PaymentGateway.PayflowProPaymentGatewayProvider, PayflowProPaymentGatewayProvider" authorizationAccounts="VERISIGN,PaymentTech,PAYFLOWPRO" />

5.  Place a comma after PAYFLOWPRO and add the Account Code for your credit card gateway and save. For example, if your credit card gateway Account Code was labeled CREDITCARDS, then your code should read similar to the following:

<add name="PayFlowProPaymentGatewayProvider" type="Asi.PaymentGateway.PayflowProPaymentGatewayProvider, PayflowProPaymentGatewayProvider" authorizationAccounts="VERISIGN,PaymentTech,PAYFLOWPRO,CREDITCARDS" />

6.  Restart IIS and your credit cards should work in iMIS Public view or any iParts website.